package com.gxa.zhonglong.service;

import com.gxa.zhonglong.exception.BusinessException;
import com.gxa.zhonglong.pojo.LaborCharges;

import java.util.List;

/**
 * @author NITRO
 */
public interface LaborChargesService {
    /**
     * 添加工费
     * @param laborCharges
     * @return
     */
    Boolean addLaborCharges(LaborCharges laborCharges) throws BusinessException;

    /**
     * 删除工费
     * @param ids
     * @return
     * @throws BusinessException
     */
    void deleteLaborCharges(List<Long> ids) throws BusinessException;

    /**
     * 修改工费
     * @param laborCharges
     * @return
     */
    Boolean updateLaborCharges(LaborCharges laborCharges) throws BusinessException;

    /**
     *分页查询工费
     * @param page：页数
     * @param size：每页条数
     * @return
     */
    List<LaborCharges> getLaborChargesList(Integer page,Integer size);

}
